package com.atguigu.common.exception;

public enum BizCodeEnum {

    UNKNOW_EXCEPTION(10000,"参数校验异常"),
    VALID_EXCEPTION(10000,"参数校验异常");

    private int code;
    private String mess;
    BizCodeEnum(int code,String mess){
        this.code = code;
        this.mess = mess;
    }

    public int getCode() {
        return code;
    }

    public String getMess() {
        return mess;
    }
}
